package com.shuyu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description = "审批流程节点设置")
@TableName("tbl_approval_process_node")
public class ApprovalProcessNode implements Serializable {
    private static final long serialVersionUID = 2029404930439412169L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "审批流程ID")
    private Integer processId;
    @ApiModelProperty(value = "用户ID")
    private Long userId;
    @ApiModelProperty(value = "审批节点索引")
    private Integer processIndex;

    private Date createTime;

    private transient String userName;
}
